package com.yoj.model.dto.questionsubmit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 创建题目提交请求参数
 * 接收前端传来的参数
 */
@Data
@ApiModel(value = "创建题目提交请求参数")
public class QuestionSubmitAddRequest implements Serializable {

    @ApiModelProperty(value = "编程语言")
    private String language;

    @ApiModelProperty(value = "用户代码")
    private String code;

    @ApiModelProperty(value = "题目 id")
    private Long questionId;

    private static final long serialVersionUID = 1L;
}